<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
  <div class="others">
    <ul class="companynews">
    			<logic:iterate id="news" name="companyForm" property="newsList" indexId="i">
    			<% String hasStyle = "class=\"light\""; if(i % 2 == 1) { hasStyle = "";}  %>
            	<li <%=hasStyle %>>
                	<p class="ctitle"><a href="..\sale\readOneSaleNewsInf.do?id=${companyForm.comp.id}&newsId=${news.id}" title="${news.title }" class="kind">${news.title }</a></p>
                  <p class="cdate">${news.createDate }</p>
                    <p class="cct">${news.context }</p>
                </li>
                </logic:iterate>
            </ul>
  </div>